﻿@model Models.Customer
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>编辑客户信息</title>
    <link rel="stylesheet" href="~/Content/bootstrap.min.css">
</head>
<body>
    <div class="container">
        <p></p>
        <div class="card">
            <div class="card-body">
                <form action="/Home/Save" method="post">
                    <div class="input-group flex-nowrap">
                        <input type="text" name="CustomerID" value="@Model.CustomerID" hidden />
                        <span style="width: 100px;" class="input-group-text" id="addon-wrapping">登录账号</span>
                        <input type="text" class="form-control" value="@Model.LoginID" name="LoginID" placeholder="登录账号"
                               aria-label="Username" aria-describedby="addon-wrapping">
                        <span style="width: 100px;" class="input-group-text" id="addon-wrapping">登录密码</span>
                        <input type="text" class="form-control" value="@Model.Pwd" name="Pwd" placeholder="登录密码"
                               aria-label="Username" aria-describedby="addon-wrapping">
                    </div>
                    <p></p>
                    <div class="input-group flex-nowrap">
                        <span style="width: 100px;" class="input-group-text" id="addon-wrapping">姓名</span>
                        <input type="text" class="form-control" value="@Model.CustomerName" name="CustomerName" placeholder="姓名"
                               aria-label="Username" aria-describedby="addon-wrapping">
                        <span style="width: 100px;" class="input-group-text" id="addon-wrapping">身份证号</span>
                        <input type="text" class="form-control" value="@Model.IdentityID" name="IdentityID" placeholder="身份证号"
                               aria-label="Username" aria-describedby="addon-wrapping">
                    </div>
                    <p></p>
                    <div class="input-group flex-nowrap">
                        <span style="width: 100px;" class="input-group-text" id="addon-wrapping">地址</span>
                        <input type="text" class="form-control" value="@Model.Address" name="Address" placeholder="地址"
                               aria-label="Username" aria-describedby="addon-wrapping">
                        <span style="width: 100px;" class="input-group-text" id="addon-wrapping">电话</span>
                        <input type="text" class="form-control" value="@Model.Phone" name="Phone" placeholder="电话"
                               aria-label="Username" aria-describedby="addon-wrapping">
                    </div>
                    <p></p>
                    <p><input class="btn btn-primary" type="submit" value="保存"></p>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
